package com.orange.base.core.bean;

public class ColumnMetaData {

    /**
     * 列名称
     */
    private String columnName;

    /**
     * 列大小
     */
    private int columnSize;

    /**
     * 列对应的java类型
     */
    private String columnClassName;

    /**
     * 类型
     */
    private String type;

    /**
     * 注释
     */
    private String remarks;

    /**
     * 类型
     */
    private int dataType;

    /**
     * 是否可为空
     */
    private boolean nullable;

    public ColumnMetaData(String columnName, int columnSize, String columnClassName, String type, String remarks, int dataType, boolean nullable) {
        this.columnName = columnName;
        this.columnSize = columnSize;
        this.columnClassName = columnClassName;
        this.type = type;
        this.remarks = remarks;
        this.dataType = dataType;
        this.nullable = nullable;
    }

    public String getColumnName() {
        return columnName;
    }

    public int getColumnSize() {
        return columnSize;
    }

    public String getColumnClassName() {
        return columnClassName;
    }

    public String getType() {
        return type;
    }

    public String getRemarks() {
        return remarks;
    }

    public int getDataType() {
        return dataType;
    }

    public boolean isNullable() {
        return nullable;
    }

}
